//
//  SancanVIdeoViewController.m
//  ThePrivateKitchen
//
//  Created by lirui on 16/1/22.
//  Copyright © 2016年 www.lanou3g.com蓝鸥科技. All rights reserved.
//

#import "SancanVIdeoViewController.h"

#import <AVFoundation/AVFoundation.h>
@interface SancanVIdeoViewController ()

@end

@implementation SancanVIdeoViewController

- (void)viewDidLoad {
    [super viewDidLoad];
    // Do any additional setup after loading the view.
    self.view.backgroundColor = [ UIColor whiteColor];
   // self.navigationItem.title = self.model.title;
    UIWebView *wv = [[UIWebView alloc] initWithFrame:CGRectMake(0,-40, [UIScreen mainScreen].bounds.size.width, [UIScreen mainScreen].bounds.size.height + 30 )];
    /**<  取消回弹效果 */
    wv.scrollView.bounces = NO;
    // 加载网址
//    NSString *str =self.model.dishes_id;
//    NSLog(@"%@",str);
    NSString *url = [ NSString stringWithFormat:@"http://h5.izhangchu.com/web/dishes_view/index.html?&dishes_id=%@",self.str];
    [wv loadRequest:[NSURLRequest requestWithURL:[NSURL URLWithString:url]]];
    [self.view addSubview:wv];
    [wv release];

    
}

- (void)didReceiveMemoryWarning {
    [super didReceiveMemoryWarning];
    // Dispose of any resources that can be recreated.
}

/*
#pragma mark - Navigation

// In a storyboard-based application, you will often want to do a little preparation before navigation
- (void)prepareForSegue:(UIStoryboardSegue *)segue sender:(id)sender {
    // Get the new view controller using [segue destinationViewController].
    // Pass the selected object to the new view controller.
}
*/

@end
